Software Development
Classes and Inheritance in Python
Python Classes & Inheritance: Advanced Functionality Using Python Classes
Python Classes & Inheritance: Getting Started with Classes in Python
Python Classes & Inheritance: Working with Inheritance in Python
Python Classes and Inheritance: Introduction

Python Classes & Inheritance: Advanced Functionality Using Python Classes

Course Number:
it_pycipydj_04_enus
Lesson Objectives

Python Classes & Inheritance: Advanced Functionality Using Python Classes

  • discover the key concepts covered in this course
  • represent objects using customized strings
  • perform addition operations on custom objects
  • perform subtraction operations on custom objects
  • perform multiplication operations on custom objects
  • perform floor division, modulo, and power-of operations
  • allow built-in functions to work with custom data types
  • execute for-loops on custom data types
  • define properties on classes for intuitive use
  • define properties using a simpler syntax
  • work with class methods to access and update class state
  • work with utility methods on classes
  • define classes as abstract
  • list special methods and what they represent, define a class and create a property within it, and differentiate between class methods and static methods

Overview/Description

Examine the advanced features that you can implement using classes in Python, such as special methods, iterators, class properties, and abstract base classes.



Target

Prerequisites: none

Python Classes & Inheritance: Getting Started with Classes in Python

Course Number:
it_pycipydj_02_enus
Lesson Objectives

Python Classes & Inheritance: Getting Started with Classes in Python

  • discover the key concepts covered in this course
  • create a classes using Python
  • assign attributes to objects of classes
  • initialize class variables using the init special method
  • pass arguments to initialize the state of a class object
  • define additional methods in a class
  • recall how class variables work
  • recall how class variables are different from instance variables
  • recall how class variables share memory across objects of a class
  • work with variables that have their own memory in each object
  • define getters and setters for each instance variable
  • prevent inadvertent modification of instance variables
  • create a class to represent a real-world entity
  • parse information to create classes using a dictionary
  • describe the use of the init method in a class, specify why the self argument is passed to methods in a class, differentiate between class and instance variables, and specify how member variables can be made private

Overview/Description

Explore implementations of Python classes, methods, and instance and class variables, as well as how to implement private variables in Python classes and program problems using classes.



Target

Prerequisites: none

Python Classes & Inheritance: Working with Inheritance in Python

Course Number:
it_pycipydj_03_enus
Lesson Objectives

Python Classes & Inheritance: Working with Inheritance in Python

  • discover the key concepts covered in this course
  • recall the default base class for all Python classes
  • model an is-a relationship using inheritance
  • invoke base class methods from subclasses
  • provide implementations for base class methods
  • work with class hierarchies
  • define methods in a subclass
  • define multiple inheritance levels in classes
  • define multiple base classes for a single subclass
  • recall what polymorphism is
  • implement polymorphism in Python
  • implement base and derived classes, specify an init method to initialize member variables, define getters and setters for member variables, and override a method

Overview/Description

Discover how to implement inheritance using Python classes, and explore coding examples of concepts such as base classes, derived classes, overriding methods, and polymorphism.



Target

Prerequisites: none

Python Classes and Inheritance: Introduction

Course Number:
it_pycipydj_01_enus
Lesson Objectives

Python Classes and Inheritance: Introduction

  • discover the key concepts covered in this course
  • recall how state and behavior can be encapsulated in a single unit
  • describe how classes can be used as blueprints to create objects
  • compare objects and instances to classes
  • model is-a relationships using inheritance
  • describe the advantages of using object-oriented programming
  • describe classes, define how state and behavior of a class are represented, list the characteristics of class objects or instances, describe class inheritance, and list the advantages of object-oriented programming with classes

Overview/Description

Explore the concept of logical units, such as classes, and how they are used to hold state and behavior. Examine the modeling of is-a relationships using inheritance and the advantages of object-oriented programming.



Target

Prerequisites: none

Close Chat Live